-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dogukan/etabs connector poc #406
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #406 +/- ##
=====================================
Coverage 9.30% 9.30%
=====================================
Files 224 224
Lines 4234 4234
Branches 471 471
=====================================
Hits 394 394
Misses 3824 3824
Partials 16 16 ☔ View full report in Codecov by Sentry. |
@dogukankaratas thinking about folder directories: |
Working on my side too, nice @dogukankaratas! 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not to be sorted in this PR but something for us to keep in mind:
- Manual loading of the
.dll
file to get the plugin in ETABS? No way to get it recognised automatically? Maybe we contact ETABS support.
@dogukankaratas @bjoernsteinhagen please do not merge this PR in before having approval from @JR-Morgan or @adamhathcock |
CI Build Failure: Background:
Required Action:
Note: Once published, we can replace the local DLL reference with the new NuGet package. |
- Migrated the proof-of-concept to a Shared project - Some renaming headache - Use of Speckle.CSI.API NGet package (thanks Jedd) - Basic selection info works - Ready for CNX-828 and CNX-835
Changes
Check FailingRunning I suspect But on a good note, we're interacting with the model and selecting things. |
Connectors/CSi/Speckle.Connectors.CSiShared/Properties/launchSettings.json
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,63 @@ | |||
// NOTE: Plugin entry point must match the assembly name, otherwise hits you with a "Not found" error when loading plugin | |||
// TODO: Move ETABS implementation to csproj as part of CNX-835 and/or CNX-828 | |||
namespace Speckle.Connectors.ETABS22; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong namespace?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temp solution, that's why I marked as TODO. ETABS expects cPlugin and Form1 namespace match assembly name. When it was under CSiShared, it gave the "Not Found" error. Will make it more elegant in next series of Ticket(s)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very annoying
|
||
// NOTE: Plugin entry point must match the assembly name, otherwise hits you with a "Not found" error when loading plugin | ||
// TODO: Move ETABS implementation to csproj as part of CNX-835 and/or CNX-828 | ||
namespace Speckle.Connectors.ETABS22; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong namespace?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as cPlugin.cs :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we also rename this form to "SpeckleForm" or something more descriptive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This caused us headache 😆 It needs to (for some reason) be named Form1.cs
@dogukankaratas and I can't explain yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is gross
public CSiSharedDocumentModelStore(IJsonSerializer jsonSerializerSettings) | ||
: base(jsonSerializerSettings) { } | ||
|
||
protected override void HostAppSaveState(string modelCardState) => throw new NotImplementedException(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this not throw yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, not yet
First attempt to implement DUI3 to ETABS. 🎉